package com.hx.exception.tools;

/**
 * @author minghuachen
 * @since 2024/1/25 13:44
 */
@FunctionalInterface
public interface ReturnFunc<T,E extends Throwable> {

    /**
     * 业务处理方法
     * @return 业务返回值
     * @throws E 异常
     */
    T process() throws E;

}
